package com.itbaizhan.openhis.service;

import com.itbaizhan.openhis.domain.LoginInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itbaizhan.openhis.dto.LoginInfoDto;
import com.itbaizhan.openhis.vo.DataGridView;

/**
* @author MR
* @description 针对表【sys_login_info(系统访问记录)】的数据库操作Service
* @createDate 2025-05-16 16:02:43
*/
public interface LoginInfoService extends IService<LoginInfo> {
	/**
	 * 添加
	 *
	 * @param loginInfo
	 * @return
	 */
	int insertLoginInfo(LoginInfo loginInfo);
	
	/**
	 * 查询登录日志
	 * @param loginInfoDto
	 * @return
	 */
	DataGridView listForPage(LoginInfoDto loginInfoDto);
	
	/**
	 * 批量删除
	 * @param infoIds
	 * @return
	 */
	int deleteLoginInfoByIds(Long[] infoIds);
	/**
	 * 清空登录日志
	 * @return
	 */
	int clearLoginInfo();
	
}
